﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Qiyezhiweifabu.aspx.cs" Inherits="OnlineRecruit.Qiyezhiweifabu" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
 
        <style>
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
        }

        header {
            text-align: center;
            margin-bottom: 30px;
        }

        .logo {
            font-size: 2rem;
            font-weight: bold;
            color: #1a73e8;
        }

        .form-container {
            background-color: #fff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        }

        .form-header {
            font-size: 1.8rem;
            color: #1a73e8;
            text-align: center;
            margin-bottom: 20px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            font-size: 1rem;
            color: #333;
            margin-bottom: 8px;
            display: block;
        }

        .form-input, .form-select, .form-textarea {
            width: 100%;
            padding: 10px;
            font-size: 1rem;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

        .form-textarea {
            resize: vertical;
            height: 120px;
        }

        .button-group {
            display: flex;
            justify-content: space-between;
        }

        .submit-btn, .cancel-btn {
            padding: 12px 25px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.1rem;
            width: 48%;
        }

        .submit-btn {
            background-color: #1a73e8;
            color: white;
        }

        .submit-btn:hover {
            background-color: #1557b0;
        }

        .cancel-btn {
            background-color: #f0f2f5;
            color: #333;
            border: 1px solid #ddd;
        }

        .cancel-btn:hover {
            background-color: #e0e3e7;
        }
    </style>
 
</head>
<body>
     <div class="form-container">
            <div class="form-header">发布职位</div>

            <!-- 发布职位表单 -->
            <form id="jobPostForm" runat="server">
                <div class="form-group">
                    <label class="form-label" for="txtJobTitle">职位名称</label>
                    <asp:TextBox ID="txtJobTitle" runat="server" CssClass="form-input" placeholder="请输入职位名称"></asp:TextBox>
                </div>

                <div class="form-group">
                    <label class="form-label" for="txtCompanyName">公司名称</label>
                    <asp:TextBox ID="txtCompanyName" runat="server" CssClass="form-input" placeholder="请输入公司名称"></asp:TextBox>
                </div>

                <div class="form-group">
                    <label class="form-label" for="ddlJobCategory">职位类别<br />
                    <asp:TextBox ID="position" runat="server" CssClass="form-input" placeholder="请输入公司名称"></asp:TextBox>
                    </label>
&nbsp;</div>

                <div class="form-group">
                    <label class="form-label" for="txtLocation">工作地点</label>
                    <asp:TextBox ID="txtLocation" runat="server" CssClass="form-input" placeholder="请输入工作地点"></asp:TextBox>
                </div>

                <div class="form-group">
                    <label class="form-label" for="txtSalary">薪资范围</label>
                    <asp:TextBox ID="txtSalary" runat="server" CssClass="form-input" placeholder="请输入薪资范围"></asp:TextBox>
                </div>

                <div class="form-group">
                    <label class="form-label" for="txtJobDescription">职位描述</label>
                    <asp:TextBox ID="txtJobDescription" runat="server" CssClass="form-textarea" placeholder="请输入职位描述" TextMode="MultiLine" Rows="6"></asp:TextBox>
                </div>

                <div class="button-group">
                    <asp:Button ID="btnSubmitJob" runat="server" CssClass="submit-btn" Text="发布职位" OnClick="btnSubmitJob_Click" />
                    <asp:Button ID="btnCancel" runat="server" CssClass="cancel-btn" Text="取消发布" OnClick="btnCancel_Click" />
                </div>
            </form>
        </div>
   
</body>
</html>
